<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>B页面</title>
	</head>
	<body>
		<button type="button" onclick="goC()">前往C页面</button>
		<button type="button" onclick="qianj()">前进</button>
		<button type="button" onclick="hout()">后退</button>
		<button type="button" onclick="shuax()">刷新页面</button>
	</body>
	<script type="text/javascript">
		function goC(){
			location.href = 'index3.html' ;
		}
		function qianj(){
			history.forward();
		}
		function hout(){
			history.back();
		}
		function shuax(){
			location.reload();
		}
	</script>
</html>
